From 71ef827d54d2e8056f315ffb960d08e3db908762 Mon Sep 17 00:00:00 2001 From: Sam Reed Date: Sat, 3 Sep 2011 22:50:44 +0000 Subject: [PATCH] Set a HTTP 301 header in redirect.php Upstream wikia change --- redirect.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redirect.php b/redirect.php index c0a1602155..eb15c6b96e 100644 --- a/redirect.php +++ b/redirect.php @@ -18,4 +18,4 @@ $page = $wgRequest->getVal( 'wpDropdown' ); $url = str_replace( "$1", urlencode( $page ), $wgArticlePath ); -header( "Location: {$url}" ); +header( "Location: {$url}", true, 301 ); -- 2.20.1